Discover commands out of sync mysql php, include the articles, news, trends, analysis and practical advice about commands out of sync mysql php on alibabacloud.com
Address: http://www.pczpg.com/a/2010/0507/7815.html
Call the MySQL stored procedure in the same thing in PHP and then execute another or multiple commands (or execute multiple stored procedures in the same thing) again ), if you use the query
Create a blog for mysql database, apacha server, and php Server
1. install mysql:
Prepare zip: mysql-5.5.33-linux2.6-x86_64.tar.gz
[Root @ www ~] # Groupadd-r mysql
[Root @ www ~] # Useradd-g mysql-r-s/sbin/nologin mysql
[Root @ www ~] # Id
PHP calls the stored procedure and then executes SQL to prompt commands out of sync; Can ' t run this command now, what is the problem?
Reply content:
PHP calls the stored procedure and then executes SQL to prompt commands out of sync; Can ' t
According to many PHP/LNMP programmer's development trajectory, combined with personal experience, abstract a lot of programmers on the future of the mist, especially the blind and flustered technical learning, a simple comb this each stage of the
Mysql High Availability DRBD + HEARTBEAT + MYSQL, drbdheartbeat1. Architecture Mysql:
Master
10.24.6.4: 3306 VIP:
10.24.6.20
The VIP and mysql must be in the same network segment; otherwise, the ping fails.
2.
mysql| Reference | reference Manual | chinese
MySQL Chinese reference manual (catalog)
Reprinted translator: Yan Zi
return 〗〖 Forwarding
Translator: Yan Zi (clyan@sohu.com) Homepage: http://linuxdb.yeah.net
0 Translator Preface
1 General
MySQL High Availability DRBD + Heartbeat + MySQL1. Architecture Mysql:
Master
10.24.6.4: 3306 VIP:
10.24.6.20
The VIP and mysql must be in the same network segment; otherwise, the ping fails.2. References
3. DRBD shared memory settings
Shared Hard
1. Do not use relative paths
Often you will see:
Require_once ('.. /.. /lib/some_class.php ');
There are many drawbacks to this approach:
It first looks for the specified PHP include path and then finds the current directory.
Therefore, too
See some advanced PHP interview topics on the web.
Nothing to do, got some answers ... may not be very comprehensive, leave this after the spare bar.
I. Basic knowledge points1.1 The meaning of several status codes in the HTTP protocol: 503 500 401
50 high-quality PHP code practical tips, I hope you like it.
1. Do not use relative pathsOften you will see:
Require_once ('.. /.. /lib/some_class.php ');
This approach has many drawbacks: it first finds the specified PHP include path, and then
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.